package com.demo.service;

import com.demo.dao.UserDao;
import com.demo.pojo.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author : liuf
 * @version V1.0
 * @title: UserService
 * @date 2022年03月22日 22:38
 **/
@Service
public class UserService {

    @Autowired
    UserDao userDao;

    public UserInfo loginCheck(UserInfo loginUser){
        return userDao.queryUserInfo(loginUser);
    }
}
